<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="keyword" content="">
    <!-- <link rel="shortcut icon" href="img/favicon.png"> -->
    <title>项目列表</title>
    <!-- <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.2/style/weui.min.css">
    <link rel="stylesheet" href="css/style.css">
    <style type="text/css">
        html,body,.page {height: 100%;}
        .scroll-area{position: absolute;top: 91px;bottom: 0;width: 100%;}
    </style>
</head>

<body>
    <div class="page">
        <div class="weui-search-bar" id="searchBar">
            <form class="weui-search-bar__form">
                <div class="weui-search-bar__box">
                    <i class="weui-icon-search"></i>
                    <input type="search" class="weui-search-bar__input" id="searchInput" placeholder="搜索" required/>
                    <a href="javascript:" class="weui-icon-clear" id="searchClear"></a>
                </div>
                <label class="weui-search-bar__label" id="searchText">
                    <i class="weui-icon-search"></i>
                    <span>搜索</span>
                </label>
            </form>
            <a href="javascript:" class="weui-search-bar__cancel-btn" id="searchCancel">取消</a>
        </div>
        <div class="weui-cells searchbar-result hide" id="searchResult" style="font-size: 14px;margin-top: 0;z-index: 999;">
            <div class="weui-cell weui-cell_access">
                <div class="weui-cell__bd weui-cell_primary">
                    <p>实时搜索文本</p>
                </div>
            </div>
            <div class="weui-cell weui-cell_access">
                <div class="weui-cell__bd weui-cell_primary">
                    <p>实时搜索文本</p>
                </div>
            </div>
            <div class="weui-cell weui-cell_access">
                <div class="weui-cell__bd weui-cell_primary">
                    <p>实时搜索文本</p>
                </div>
            </div>
            <div class="weui-cell weui-cell_access">
                <div class="weui-cell__bd weui-cell_primary">
                    <p>实时搜索文本</p>
                </div>
            </div>
        </div>
        <div id="prjtabs" class="weui-flex tabs">
            <li class="weui-flex__item active"><a href="#prj-all">全部</a></li>
            <li class="weui-flex__item"><a href="#prj-ywc">已完成</a></li>
            <li class="weui-flex__item"><a href="#prj-wwc">未完成</a></li>
        </div>
        <div class="scroll-area">
            <div class="weui-tab__panel">
                <!-- 全部 -->
                <div id="prj-all" class="weui-panel active">
                    <div class="weui-panel__bd">
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-danger">[未完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-success">[已完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - 2017-06-12</p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-danger">[未完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-danger">[未完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-danger">[未完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-danger">[未完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title"><small class="text-danger">[未完]</small> 项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                    </div>
                </div>
                <!-- 已完成 -->
                <div id="prj-ywc" class="weui-panel">
                    <div class="weui-panel__bd">
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title">项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - </p>
                            </div>
                        </a>
                        <a href="prj.doc.list.html" class="weui-media-box weui-media-box_text weui-media-box_appmsg">
                            <div class="weui-media-box__bd">
                                <h4 class="weui-media-box__title">项目名称</h4>
                                <p class="weui-media-box__desc">项目编号：FJD23840238</p>
                                <p class="weui-media-box__desc">负责人：张三</p>
                                <p class="weui-media-box__desc">起止日期：2017-05-12 - 2017-06-12</p>
                            </div>
                        </a>
                    </div>
                </div>
                <!-- 未完成 -->
                <div id="prj-wwc" class="weui-panel">
                    <div class="weui-panel__bd">
                        <div class="weui-loadmore weui-loadmore_line">
                            <span class="weui-loadmore__tips">暂无数据</span>
                        </div>
                    </div>
                </div>
                <div class="weui-footer">
                    <p class="weui-footer__text">Copyright &copy; 2016-2017 宙能信息. All rights reserved.</p>
                </div>
            </div>
        </div>
    </div>
    <!-- <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script> -->
    <!-- <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> -->
    <script src="https://cdn.bootcss.com/zepto/1.2.0/zepto.min.js"></script>
    <script src="js/prj.list.search.js"></script>
    <script>
    (function ($) {
        $('#prjtabs').on('click', 'a', function (e) {
            e.preventDefault();
            $(this).parent().addClass('active').siblings().removeClass('active');
            $($(this).attr('href')).addClass('active').siblings('.weui-panel').removeClass('active');
        });
    })(Zepto);
    </script>
</body>

</html>
